<?php
    
    class xmlrpc_controller extends Controller
    {
        private $rpc_model;

        public function __construct(){
            parent::__construct();
            $this->rpc_model = $this->load->model('xmlrpc');    
        }

        public function index(){
            //render documentation of xmlrpc model
            print "happy";
        }      

        public function login(){
            //act as login of the xmlrpc model
        }

        public function logoff(){
            //act as logoff of the xmlrpc model
        }

    }